﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200046D RID: 1133
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterRogueMapRoomCsReq : IMessage<EnterRogueMapRoomCsReq>, IMessage, IEquatable<EnterRogueMapRoomCsReq>, IDeepCloneable<EnterRogueMapRoomCsReq>, IBufferMessage
	{
		// Token: 0x17000E96 RID: 3734
		// (get) Token: 0x06003302 RID: 13058 RVA: 0x0008C314 File Offset: 0x0008A514
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterRogueMapRoomCsReq> Parser
		{
			get
			{
				return EnterRogueMapRoomCsReq._parser;
			}
		}

		// Token: 0x17000E97 RID: 3735
		// (get) Token: 0x06003303 RID: 13059 RVA: 0x0008C31B File Offset: 0x0008A51B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterRogueMapRoomCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000E98 RID: 3736
		// (get) Token: 0x06003304 RID: 13060 RVA: 0x0008C32D File Offset: 0x0008A52D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterRogueMapRoomCsReq.Descriptor;
			}
		}

		// Token: 0x06003305 RID: 13061 RVA: 0x0008C334 File Offset: 0x0008A534
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterRogueMapRoomCsReq()
		{
		}

		// Token: 0x06003306 RID: 13062 RVA: 0x0008C33C File Offset: 0x0008A53C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterRogueMapRoomCsReq(EnterRogueMapRoomCsReq other) : this()
		{
			this.siteId_ = other.siteId_;
			this.roomId_ = other.roomId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003307 RID: 13063 RVA: 0x0008C36D File Offset: 0x0008A56D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterRogueMapRoomCsReq Clone()
		{
			return new EnterRogueMapRoomCsReq(this);
		}

		// Token: 0x17000E99 RID: 3737
		// (get) Token: 0x06003308 RID: 13064 RVA: 0x0008C375 File Offset: 0x0008A575
		// (set) Token: 0x06003309 RID: 13065 RVA: 0x0008C37D File Offset: 0x0008A57D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SiteId
		{
			get
			{
				return this.siteId_;
			}
			set
			{
				this.siteId_ = value;
			}
		}

		// Token: 0x17000E9A RID: 3738
		// (get) Token: 0x0600330A RID: 13066 RVA: 0x0008C386 File Offset: 0x0008A586
		// (set) Token: 0x0600330B RID: 13067 RVA: 0x0008C38E File Offset: 0x0008A58E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RoomId
		{
			get
			{
				return this.roomId_;
			}
			set
			{
				this.roomId_ = value;
			}
		}

		// Token: 0x0600330C RID: 13068 RVA: 0x0008C397 File Offset: 0x0008A597
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterRogueMapRoomCsReq);
		}

		// Token: 0x0600330D RID: 13069 RVA: 0x0008C3A5 File Offset: 0x0008A5A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterRogueMapRoomCsReq other)
		{
			return other != null && (other == this || (this.SiteId == other.SiteId && this.RoomId == other.RoomId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600330E RID: 13070 RVA: 0x0008C3E4 File Offset: 0x0008A5E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SiteId != 0U)
			{
				num ^= this.SiteId.GetHashCode();
			}
			if (this.RoomId != 0U)
			{
				num ^= this.RoomId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600330F RID: 13071 RVA: 0x0008C43C File Offset: 0x0008A63C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003310 RID: 13072 RVA: 0x0008C444 File Offset: 0x0008A644
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003311 RID: 13073 RVA: 0x0008C450 File Offset: 0x0008A650
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SiteId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.SiteId);
			}
			if (this.RoomId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.RoomId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003312 RID: 13074 RVA: 0x0008C4AC File Offset: 0x0008A6AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SiteId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SiteId);
			}
			if (this.RoomId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RoomId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003313 RID: 13075 RVA: 0x0008C504 File Offset: 0x0008A704
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterRogueMapRoomCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SiteId != 0U)
			{
				this.SiteId = other.SiteId;
			}
			if (other.RoomId != 0U)
			{
				this.RoomId = other.RoomId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003314 RID: 13076 RVA: 0x0008C554 File Offset: 0x0008A754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003315 RID: 13077 RVA: 0x0008C560 File Offset: 0x0008A760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.RoomId = input.ReadUInt32();
					}
				}
				else
				{
					this.SiteId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001404 RID: 5124
		private static readonly MessageParser<EnterRogueMapRoomCsReq> _parser = new MessageParser<EnterRogueMapRoomCsReq>(() => new EnterRogueMapRoomCsReq());

		// Token: 0x04001405 RID: 5125
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001406 RID: 5126
		public const int SiteIdFieldNumber = 6;

		// Token: 0x04001407 RID: 5127
		private uint siteId_;

		// Token: 0x04001408 RID: 5128
		public const int RoomIdFieldNumber = 14;

		// Token: 0x04001409 RID: 5129
		private uint roomId_;
	}
}
